package com.sdp.wx.db.wx_repair_item.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zsp
 * @since 2024-01-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wx_repair_item")
public class WxRepairItem extends Model<WxRepairItem> {

    private static final long serialVersionUID=1L;

    /**
     * 内码
     */
    @TableId("key_id")
    private String keyId;

    /**
     * 项目类型
     */
    @TableField("item_type")
    private String itemType;

    /**
     * 项目编号
     */
    @TableField("item_no")
    private String itemNo;

    /**
     * 项目名称
     */
    @TableField("item_name")
    private String itemName;

    /**
     * 工时
     */
    @TableField("item_hour")
    private BigDecimal itemHour;


    @Override
    protected Serializable pkVal() {
        return this.keyId;
    }

}
